//
//  Presenter.h
//  构架模式MVP
//
//  Created by XHJ on 2020/8/28.
//  Copyright © 2020 L. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MVPProtocol.h"

NS_ASSUME_NONNULL_BEGIN

@interface Presenter : NSObject <MVPProtocol>

@property (nonatomic, weak)id <MVPProtocol> protocol;

//  数据
- (void)load;
- (void)getOne;

//  绑定view
- (void)attachView:(id<MVPProtocol>)view;

@end

NS_ASSUME_NONNULL_END
